-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add colour customisation to layout editor #29936
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems pretty okay otherwise.
@@ -114,6 +118,7 @@ protected override void Update() | |||
base.Update(); | |||
content.Height = bar.Height + bar_height + info.Height; | |||
graphContainer.Height = bar.Height; | |||
Colour = AccentColour.Value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I question why this needs to be in update. Let's use the bindable as a bindable instead yeah?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jesus. not sure how i'd missed that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed in 9f4e48d. also found one more when i was looking at that again.
@@ -114,6 +118,8 @@ protected override void Update() | |||
|
|||
if (!Precision.AlmostEquals(Height, newHeight, 5f)) | |||
content.Height = newHeight; | |||
|
|||
Colour = AccentColour.Value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
Allows you to change colour for:
AdjustingColour.mp4
I also implemented this to
FontAdjustableSkinComponent
because it makes sense but I'm not too sure.I don't think there's design for button for adjusting colour, so I came up with my own.